#ifndef CG07_IMAGE
#define CG07_IMAGE
//   Image.h
//
//     4.1.07, pm-n.
//


class  Image
{

 public:

  Image( char *file_name_rgb );

  Image( char *file_name_rgb, char *file_name_bw ); 


  char  *access_pixel();

  void  get_sizes( unsigned long &sizeX, unsigned long &sizeY );

  void  get_channels( int &channels );



 private:

  unsigned long  sizeX, sizeY;

  int            channels;

  char           *pixel;

};

#endif
